require './shard/core'
require './shard/util'
require './shard/formatting'

class Shard
	#class constructor, creates instaces for meta table, values array, and Dict2 struct using args
	def initialize(*args)
		args.map{|e| e.to_sym}

		@@elements=args.map{|e| e.to_sym}
		@Dict2=Struct.new(*@@elements)
		@meta=Struct.new(:size,:is_empty,:num_indentifiers,:identifiers,:creationStamp,:editStamp,:all)
		@meta=@meta.new(0,true,@@elements.length,@@elements,Time.new,nil,Hash.new)
		@values=[]

		update
	end
end